package com.hlkj.pay.infrastructure.model.order;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 交易手续费记录记录表
* @TableName t_order_fee_result
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_order_fee_result")
public class OrderFeeResultDO extends BaseDO {

    /**
    * 平台订单号
    */
    @Schema(description ="平台订单号")
    private String orderNo;
    /**
    * 1 订单 2 退款订单
    */
    @Schema(description ="1 订单 2 退款订单")
    private Integer type;
    /**
    * 订单金额
    */
    @Schema(description ="订单金额")
    private BigDecimal amount;
    /**
    * 平台手续费费率
    */
    @Schema(description ="平台手续费费率")
    private BigDecimal feeRate;
    /**
    * 平台交易手续费
    */
    @Schema(description ="平台交易手续费")
    private BigDecimal feeAmount;
    /**
    * 机构手续费费率
    */
    @Schema(description ="机构手续费费率")
    private BigDecimal channelFeeRate;
    /**
    * 机构交易手续费
    */
    @Schema(description ="机构交易手续费")
    private BigDecimal channelFeeAmount;
    /**
    * 1 计算成功 2 计算失败
    */
    @Schema(description ="1 计算成功 0 计算失败")
    private Integer status;
    /**
    * message
    */
    @Schema(description ="message")
    private String message;
   

}
